package network;

import network.impl.Network;
import model.IServerNetwork;

/**
 * 
 * @author Tobias
 *
 */
public class NetworkFactory {
	
	/**
	 * 
	 * @param model
	 * @param port
	 * @param listener
	 * @return
	 */
	public INetwork getNewNetwork(IServerNetwork model, 
			   						   int port, 
			   						   ServerNetworkListener listener){
		
		return Network.getNewInstance(model, port, listener);
	}
}
